* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@function getboxshow($n) {
  $result: unquote("#{random(100)}vw #{random(100)}vh #fff");

  @for $var from 1 to $n {
    $result: '#{$result},#{ unquote("#{random(100)}vw #{random(100)}vh #fff")}';
  }

  @return unquote($result);
}

@function getnum($num) {
  @return unquote("#{random($num)}px");
}

@keyframes move {
  100% {
    transform: translateY(-5000px);
  }
}

.about {
  width: 100vw;
  min-height: 100vh;
  position: absolute;
  top: 0;
  left: 0;
  // background-color: rgba(0, 0, 0, 0.775);
  background-color: #fff;
  overflow: hidden;
}

#particle_container {
  $width1: 3px;
  $width2: 2px;
  $width3: 1px;
  $backgroundColor: #fff;
  width: 10px;
  height: 10px;

  // border: 1px solid red;
  .particle_item1 {
    width: $width1;
    height: $width1;
    border-radius: 50%;
    box-shadow: getboxshow(50);
    animation: move 45s linear infinite;

    &::after {
      content: "";
      width: $width1;
      height: $width1;
      position: absolute;
      left: 0;
      top: 100vh;
      border-radius: 50%;
      box-shadow: inherit;
    }
  }

  .particle_item2 {
    width: $width2;
    height: $width2;
    border-radius: 50%;
    box-shadow: getboxshow(500);
    animation: move 60s linear infinite;

    &::after {
      content: "";
      width: $width2;
      height: $width2;
      position: absolute;
      left: 0;
      top: 100vh;
      border-radius: 50%;
      box-shadow: inherit;
    }
  }

  .particle_item3 {
    width: $width3;
    height: $width3;
    border-radius: 50%;
    box-shadow: getboxshow(1000);
    animation: move 50s linear infinite;

    &::after {
      content: "";
      width: $width3;
      height: $width3;
      position: absolute;
      left: 0;
      top: 100vh;
      border-radius: 50%;
      box-shadow: inherit;
    }
  }
}

$bgColor: rgba(255, 255, 255, .8);

.flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.container {
  width: 100%;
  height: 100%;

  .el-menu-demo {
    display: flex;
    justify-content: center;
    padding: 0 30px;
  }

  .meun-item {
    margin: 0 10px;
  }

  .head-text-suc {
    margin: 25px 0 0 50px;
    width: fit-content;
    height: 30px;
  }

  .swiper-container {
    margin-top: 30px;
    width: 100%;
    height: 500px;
    padding: 0 30px;

    >img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }

  .content {
    margin-top: 100px;
    width: 100%;
    padding: 0 30px;

    .content-item {
      width: 100%;
      height: 500px;
      padding: 5px;
      background-color: $bgColor;
    }

    .content-item-left-img {
      width: 50%;
      height: 100%;

      >img {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
    }

    .content-item-right-img {
      width: 50%;
      height: 100%;

      >img {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
    }

    .content-item-left {
      width: 23%;
      height: 100%;
      background-color: pink;
      border-radius: 10px;
      overflow: hidden;

      >img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        cursor: pointer;
        transition: all .3s;

        &:hover {
          transform: scale(1.05);
        }
      }
    }

    .content-item-right {
      width: 76%;
      height: 100%;
      display: flex;
      justify-content: space-evenly;
      align-items: center;
      flex-wrap: wrap;

      .right-item {
        width: 240px;
        height: 200px;
        border-radius: 10px;
        overflow: hidden;

        >img {
          width: 100%;
          height: 100%;
          object-fit: cover;
          cursor: pointer;
          opacity: .7;
          transition: all .3s;

          &:hover {
            opacity: 1;
            transform: scale(1.05);
          }
        }
      }
    }
  }

  .footer {
    margin-top: 50px;
    width: 100%;
    height: 200px;
    padding: 20px 0 0 0;
    text-align: center;
    background-color: #ccc;

    .el-divider__text {
      background-color: #fff;
      color: #000;
    }

    .footer-item {
      width: 100%;
      height: 130px;
      display: flex;
      align-items: center;
      justify-content: flex-start;
      padding-left: 30px;
    }

    .badge-item {
      margin-left: 100px;
      width: 60%;
    }
  }

  .time {
    display: block;
    height: 50px;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    color: #fff;
    transform: translate(70px, 10px);
    font-size: 30px;
    font-weight: bold;
  }
}